package com.bdqn.zhang.service;

import com.bdqn.zhang.dao.UsersDao;
import com.bdqn.zhang.entity.Users;

import java.util.List;

/**
 * Created by 任 on 2019/4/11.
 */
public class UsersServiceImpl implements UsersService{
    private UsersDao usersDao;

    public UsersDao getUsersDao() {
        return usersDao;
    }

    public void setUsersDao(UsersDao usersDao) {
        this.usersDao = usersDao;
    }

    @Override
    public List<Users> findByUsers(Users users) {
        return usersDao.findByUsers(users);
    }

    @Override
    public void save(Users users) {
        usersDao.save(users);
    }
}
